//引入模块
const mysql = require('mysql')
//创建连接池
let pool = mysql.createPool({
    // host:'rm-bp14qy6zya0qukkj8.mysql.rds.aliyuncs.com',
    host:'127.0.0.1',
    port:'3306',
    // user:'bonnykio',
    // password:'Mx802399@',
    user:'root',
    password:'',
    database:'dk'
});
//导出连接池
module.exports=pool;
